package com.bjpowernode.crm.service.impl;

import com.bjpowernode.crm.mapper.RemarkMapper;
import com.bjpowernode.crm.pojo.Remark;
import com.bjpowernode.crm.service.RemarkService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RemarkServiceImpl implements RemarkService {
    @Resource
    private RemarkMapper remarkMapper;

    @Override
    public List<Remark> getAllRemark() {
        return remarkMapper.getAllRemark();
    }

    @Override
    public void addRemark(Remark remark) {
        remarkMapper.addRemark(remark);
    }
}
